package online.yangcloud.core.mapper;

import org.springframework.stereotype.Repository;

import javax.annotation.Resource;

/**
 * @author zhuboyang
 * @since 2023年12月27 13:21:56
 */
@Repository
public class GlobalMapper {

    @Resource
    private UserMapper userMapper;

    public UserMapper acquireUser() {
        return userMapper;
    }

    @Resource
    private FileMapper fileMapper;

    public FileMapper acquireFile() {
        return fileMapper;
    }

    @Resource
    private BlockMapper blockMapper;

    public BlockMapper acquireBlock() {
        return blockMapper;
    }

    @Resource
    private FileBlockMapper fileBlockMapper;

    public FileBlockMapper acquireFileBlock() {
        return fileBlockMapper;
    }

    @Resource
    private VideoMapper videoMapper;

    public VideoMapper acquireVideo() {
        return videoMapper;
    }

    @Resource
    private AudioMapper audioMapper;

    public AudioMapper acquireAudio() {
        return audioMapper;
    }

    @Resource
    private DocumentMapper documentMapper;

    public DocumentMapper acquireDocument() {
        return documentMapper;
    }

    @Resource
    private PreviewConvertMapper previewConvertMapper;

    public PreviewConvertMapper acquirePreviewConvert() {
        return previewConvertMapper;
    }

}
